package com.open.tool.model;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author dashu03
 * @date 2025年06月07日 18:20
 * @description
 */
public class ServerLog {

    //日志数量
    private long logSize;

    //警告数量
    private long warnSize;

    //错误数量
    private long errorSize;

    //日志文件大小
    private BigDecimal logFileSize;

    //当前时间（时间戳）
    private long currentTime;

    //日志预览数据
    private List<String> logData;

    public long getLogSize() {
        return logSize;
    }

    public void setLogSize(long logSize) {
        this.logSize = logSize;
    }

    public long getWarnSize() {
        return warnSize;
    }

    public void setWarnSize(long warnSize) {
        this.warnSize = warnSize;
    }

    public long getErrorSize() {
        return errorSize;
    }

    public void setErrorSize(long errorSize) {
        this.errorSize = errorSize;
    }

    public BigDecimal getLogFileSize() {
        return logFileSize;
    }

    public void setLogFileSize(BigDecimal logFileSize) {
        this.logFileSize = logFileSize;
    }

    public long getCurrentTime() {
        return currentTime;
    }

    public void setCurrentTime(long currentTime) {
        this.currentTime = currentTime;
    }

    public List<String> getLogData() {
        return logData;
    }

    public void setLogData(List<String> logData) {
        this.logData = logData;
    }

    @Override
    public String toString() {
        return "ServerLog{" +
                "logSize=" + logSize +
                ", warnSize=" + warnSize +
                ", errorSize=" + errorSize +
                ", logFileSize=" + logFileSize +
                ", currentTime=" + currentTime +
                ", logData=" + logData +
                '}';
    }
}
